package com.Iconcat.system.service;

import com.Iconcat.system.entity.DrawRecord;
import com.Iconcat.system.response.Result;
import com.baomidou.mybatisplus.core.metadata.IPage;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import io.lettuce.core.dynamic.annotation.Param;


import java.util.Map;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author zzq
 * @since 2023-11-13
 */
public interface DrawRecordService extends IService<DrawRecord> {
    Result drawPrize(Integer userId,String prizeNam,Integer drawType);
    Result recordList(Integer userId, Integer current, Integer size);

    IPage<Map<String, Object>> getDrawRecordListPage(Page<DrawRecord> page);
}
